%h1 Edit Adverts

-semantic_form_for [:admin,@advert] do |form|
  =form.error_messages
  -form.inputs do  
    =form.input :top_advert
    =form.input :middle_advert
    =form.input :bottom_advert
    =form.input :side_advert
     
  -form.buttons do
    =form.commit_button :label=>"Update Adverts"